
WORK_HOME="/lcims/lcims/lcims80/crm_jh"
LOG_HOME="${WORK_HOME}/log"
PNAME="target=80CRM_JH_SERVER"
stat=`ps -ef | grep "$PNAME" | grep -v "grep"`
if [ "$stat" = "" ]
then
        sh ${WORK_HOME}/start.sh
        echo "restart. `date`" >> ${LOG_HOME}/monitor.log
fi